<!DOCTYPE html>
{% extends 'lms/base.html' %}
{% load static %}

{% block title %}
    -关于
{% endblock %}

{% block css %}
    {% static 'lms/css/about.css' %}
{% endblock %}
{% block aboutHighlight %}
    active
{% endblock %}
{% block main_block %}
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
            integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
            crossorigin="anonymous"></script>
    <div class="row">

        <div class="col-10">
            <div class="alert alert-success text-center " role="alert">
                To learn more about me ,click the button on the footer
            </div>


            <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                    <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
                    <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
                    <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
                </ol>
                <div class="carousel-inner">
                    <div class="carousel-item active">
                        <img class="d-block w-100"
                             src="{% static 'lms/images/dis_1.jpg' %}?auto=yes&bg=777&fg=555&text=First slide"
                             alt="First slide">
                    </div>
                    <div class="carousel-item">
                        <img class="d-block w-100"
                             src="{% static 'lms/images/dis_2.jpg' %}?auto=yes&bg=666&fg=444&text=Second slide"
                             alt="Second slide">
                    </div>
                    <div class="carousel-item">
                        <img class="d-block w-100"
                             src="{% static 'lms/images/dis_3.jpg' %}?auto=yes&bg=555&fg=333&text=Third slide"
                             alt="Third slide">
                    </div>
                </div>
                <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
                    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                    <span class="sr-only">Previous</span>
                </a>
                <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
                    <span class="carousel-control-next-icon" aria-hidden="true"></span>
                    <span class="sr-only">Next</span>
                </a>
            </div>


        </div>


        <div class="col-2">
            <div class="btn-group">
                <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">资源下载
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                    {% for doc in docList %}
                        <a href="{% url 'lms:download_file' doc.id %}">{{ doc.file_name }}</a><br>
                    {% endfor %}
                </ul>
            </div>


        </div>
    </div>
{% endblock %}